An experimental study of exhaustive solutions for the Mastermind puzzle

نویسندگان

  • Juan Julián Merelo Guervós
  • Antonio Mora García
  • Carlos Cotta
  • Thomas Philip Runarsson
چکیده

Mastermind is in essence a search problem in which a string of symbols that is kept secret must be found by sequentially playing strings that use the same alphabet, and using the responses that indicate how close are those other strings to the secret one as hints. Although it is commercialized as a game, it is a combinatorial problem of high complexity, with applications on fields that range from computer security to genomics. As such a kind of problem, there are no exact solutions; even exhaustive search methods rely on heuristics to choose, at every step, strings to get the best possible hint. These methods mostly try to play the move that offers the best reduction in search space size in the next step; this move is chosen according to an empirical score. However, in this paper we will examine several state of the art exhaustive search methods and show that another factor, the presence of the actual solution among the candidate moves, or, in other words, the fact that the actual solution has the highest score, plays also a very important role. Using that, we will propose new exhaustive search approaches that obtain results which are comparable to the classic ones, and besides, are better suited as a basis for non-exhaustive search strategies such as evolutionary algorithms, since their behavior in a series of key indicators is better than the classical algorithms.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms

The art of solving the Mastermind puzzle was initiated by Donald Knuth and is already more than 30 years old; despite that, it still receives much attention in operational research and computer games journals, not to mention the natureinspired stochastic algorithm literature. In this paper we try to suggest a strategy that will allow nature-inspired algorithms to obtain results as good as those...

متن کامل

Mastermind is NP-Complete

In this paper we show that the Mastermind Satisfiability Problem (MSP) is NPcomplete. Mastermind is a popular game which can be turned into a logical puzzle called the Mastermind Satisfiability Problem in a similar spirit to the Minesweeper puzzle [5]. By proving that MSP is NP-complete, we reveal its intrinsic computational property that makes it challenging and interesting. This serves as an ...

متن کامل

Comparison of Lecture and Puzzle for Teaching Medical Emergency to Anesthesiology Students: Students’ Learning and Viewpoints

Introduction: Emphasis on active learning in training leads to the development of new educational strategies for teaching theoretical and clinical courses in medical sciences. Active involvement in the teaching-learning process improves learning. The purpose of the present study is to compare two methods of lecturing and puzzle in Medical Emergency Course, regarding students’ learning & viewpoi...

متن کامل

The Effect of Aloe Vera Extract on Immunologic Stress in Active Girls Following an Exhaustive CrossFit Exercise

Background & Aim: Acute exhaustive activities result in the physiological and immunological changes of the human body. The aim of this study was to evaluate the effect of short-term consumption of Aloe Vera extract on immunoglobulin M, G, A responses and cortisol concentrations in active girls following exhaustive CrossFit exercise. Methods: In this study, 30 healthy young girls (age 23.03 ± 2...

متن کامل

The Effect of Story-based, L1 Translation, and Whatsapp Emoticon Puzzle-Solving Techniques on Iranian Intermediate EFL Learners’ Proverb Learning

This study investigated the effect of story-based technique, L1 translation, and Whatsapp emoticon puzzle solving on EFL learners’ learning proverbs. From among 90 female intermediate level learners at two language institutes in Qom, Iran, 60 homogeneous students were chosen following the administration of a sample of Nelson proficiency test and a pre-test. The 60 participants were then assigne...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1207.1315  شماره 

صفحات  -

تاریخ انتشار 2012